package com.example.teststart;

import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
import org.springframework.beans.factory.support.DefaultListableBeanFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

//@SpringBootApplication
public class TestStartApplication {

    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(TestStartApplication.class);
        context.getBean("locationService");
        ConfigurableListableBeanFactory factory = context.getBeanFactory();
       // SpringApplication.run(TestStartApplication.class, args);
    }

}
